package club.pchome.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/** 合成生物记录表**/
@Table(name="t_synthesis")
public class TSynthesis{
	/****/
	@Id
	private Long id;

	/****/
	@Column
	private Long userId;

	/**花费的EEB数量**/
	@Column
	private BigDecimal spendEEB;

	/**花费的EG数量**/
	@Column
	private BigDecimal spendEG;

	/**花费的EG倍数**/
	@Column
	private Integer spendMultiple;

	/**获得个数**/
	@Column
	private Integer getNumber;

	/**合成生物等级**/
	@Column
	private Integer getGrade;

	/**合成生物时间**/
	@Column
	private Date createTime;

	public void setId(Long id) {
		this.id=id;
	}

	public Long getId() {
		return this.id;
	}

	public void setUserId(Long userId) {
		this.userId=userId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setSpendEEB(BigDecimal spendEEB) {
		this.spendEEB=spendEEB;
	}

	public BigDecimal getSpendEEB() {
		return this.spendEEB;
	}

	public void setSpendEG(BigDecimal spendEG) {
		this.spendEG=spendEG;
	}

	public BigDecimal getSpendEG() {
		return this.spendEG;
	}

	public void setSpendMultiple(Integer spendMultiple) {
		this.spendMultiple=spendMultiple;
	}

	public Integer getSpendMultiple() {
		return this.spendMultiple;
	}

	public void setGetNumber(Integer getNumber) {
		this.getNumber=getNumber;
	}

	public Integer getGetNumber() {
		return this.getNumber;
	}

	public void setGetGrade(Integer getGrade) {
		this.getGrade=getGrade;
	}

	public Integer getGetGrade() {
		return this.getGrade;
	}

	public void setCreateTime(Date createTime) {
		this.createTime=createTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

}